package com.neusoft.carsale.bean;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
 * @author hp
 *
 */
public class Store extends Base{
	private Integer storeNo;
	private String carBrand;
	private Integer quantity;
	private Float inPrice;
	private Float outPrice;
	@JsonFormat(pattern ="yyyy-MM-dd",timezone="GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date produceDate;
	private In in;
	private Provider provider;
	private List<Booking> bookingList;
	private List<Evaluation> evaluationList;
	private List<In> inList;
	private List<Out> outList;
	public Store(Integer storeNo, String carBrand, Integer quantity, Float inPrice, Float outPrice, Date produceDate,
			In in, Provider provider) {
		super();
		this.storeNo = storeNo;
		this.carBrand = carBrand;
		this.quantity = quantity;
		this.inPrice = inPrice;
		this.outPrice = outPrice;
		this.produceDate = produceDate;
		this.in = in;
		this.provider = provider;
	}
	public Store() {
		super();
	}
	public Integer getStoreNo() {
		return storeNo;
	}
	public void setStoreNo(Integer storeNo) {
		this.storeNo = storeNo;
	}
	public String getCarBrand() {
		return carBrand;
	}
	public void setCarBrand(String carBrand) {
		this.carBrand = carBrand;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public Float getInPrice() {
		return inPrice;
	}
	public void setInPrice(Float inPrice) {
		this.inPrice = inPrice;
	}
	public Float getOutPrice() {
		return outPrice;
	}
	public void setOutPrice(Float outPrice) {
		this.outPrice = outPrice;
	}
	public Date getProduceDate() {
		return produceDate;
	}
	public void setProduceDate(Date produceDate) {
		this.produceDate = produceDate;
	}
	public In getIn() {
		return in;
	}
	public void setIn(In in) {
		this.in = in;
	}
	public Provider getProvider() {
		return provider;
	}
	public void setProvider(Provider provider) {
		this.provider = provider;
	}
	public List<Booking> getBookingList() {
		return bookingList;
	}
	public void setBookingList(List<Booking> bookingList) {
		this.bookingList = bookingList;
	}
	public List<Evaluation> getEvaluationList() {
		return evaluationList;
	}
	public void setEvaluationList(List<Evaluation> evaluationList) {
		this.evaluationList = evaluationList;
	}
	public List<In> getInList() {
		return inList;
	}
	public void setInList(List<In> inList) {
		this.inList = inList;
	}
	public List<Out> getOutList() {
		return outList;
	}
	public void setOutList(List<Out> outList) {
		this.outList = outList;
	}
	
}
